package com.demo.service;

import com.demo.entity.User;

import java.util.Set;

/**
 * Created by liushaokang on 2017/3/14.
 */
public interface IAuthService {
     User getByUsername(String username);

     Set<String> getRoles(String username);

     Set<String> getPermissions(String username);
}
